package com.coding.client;

import com.coding.dto.RestBean;
import com.coding.entity.UserFollowersVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author Cynicism
 * @version 1.0
 * @project DyApp
 * @description
 * @date 2024/7/15 13:40:17
 */
@FeignClient(name = "user-service")
public interface UserClient {
    @RequestMapping("queryAllFollower")
    RestBean<List<UserFollowersVo>>queryAllFollower(@RequestParam("id") String id) ;
}
